package com.yfqy.admin.domain.entity;

import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysMenu {
    /**
     * 主键
     */
    private Long id;

    /**
     * 菜单名称
     */
    private String menuName;

    /**
     * 权限code
     */
    private String code;

    /**
     * 菜单url
     */
    private String url;

    /**
     * 图标
     */
    private String icon;

    /**
     * 1-目录，2-菜单，3-按钮
     */
    private Byte menuType;

    /**
     * 1-正常，0-无效
     */
    private Byte status;

    /**
     * 父id
     */
    private Long pid;

    /**
     * 菜单的全路径:a/b/c
     */
    private String path;

    /**
     * 排序值
     */
    private Integer sort;

    private Long createdBy;

    private Date createdTime;

    private Long modifiedBy;

    private Date modifiedTime;
}